package com.example.websocketclusterspringbootstarter.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@ConfigurationProperties("spring.ws.redis")
public class RedisTemplateProperties {
    private String host = "127.0.0.1";

    /**
     * 端口
     */
    private int port = 6379;

    /**
     * 密码
     */
    private String password;

    /**
     * 拉取周期，单位s，默认1s
     */
    private Integer interval;

}
